.pager-container {
    display: flex;
    user-select: none;
    margin: 20px 0;

    .item {
        border-radius: 4px;
        background-color: blueviolet;
        font-size: 20px;
        text-align: center;
        padding: 5px 10px;
        border: 1px solid #444;
        margin-left: 10px;
        color: #ffff;
        position: relative;
        overflow: hidden;
    }

    .item::before {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        left: -100%;
        top: 0;
        background: linear-gradient(#fff, transparent, #fff);
        transition: .5s;
    }

    .item:hover::before {
        left: 0;
    }

    .disable {
        pointer-events: none;
        cursor: not-allowed;
        opacity: 0.6;
        color: #fff;
    }

    .active {
        transition: .5s;
        background-color: #f60;
    }
}

@media screen and (max-width:600px) {
    .pager-container {
        display: flex;
        user-select: none;
        margin: 20px 0;

        .item {
            border-radius: 4px;
            background-color: magenta;
            font-size: 12px;
            text-align: start;
            padding: 5px 10px;
            border: 1px solid #444;
            margin: 0 5px;
            line-height: 15px;
            color: #ffff;
            position: relative;
            overflow: hidden;
        }

        .item::before {
            content: "";
            display: block;
            position: absolute;
            width: 100%;
            height: 100%;
            left: -100%;
            top: 0;
            background: linear-gradient(#fff, transparent, #fff);
            transition: .5s;
        }

        .item:hover::before {
            left: 0;
        }

        .disable {
            pointer-events: none;
            cursor: not-allowed;
            opacity: 0.6;
            color: #fff;
        }

        .active {
            transition: .5s;
            background-color: #222;
        }
    }
}